package tom.log;

import java.time.LocalDateTime;

/**
 * TODO
 *
 * @author tom
 * @date 2021/12/15 11:03
 **/
public class Output {

    public static final String MESSAGE_PATTERN = "*%s JMA [%s] %s - %s\n";

    public static void print(String message) {
        System.out.printf(MESSAGE_PATTERN, LocalDateTime.now(), Thread.currentThread().getName()
                , Thread.currentThread().getStackTrace()[2], message);
    }

}
